package com.yp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller("pageController")
public class PageController {

	// 进入首页
	@RequestMapping("/toindex")
	public String goInfo() {
		return "index";
	}

	// 数据分析模块页面
	@RequestMapping("/data_analyze/{path}")
	public String goData(@PathVariable String path) {
		return "data_analyze/ajax_" + path;
	}

	// 我要应聘模块页面
	@RequestMapping("/want_work/index")
	public String goWork() {
		return "want_work/index";
	}
}
